namespace SBPweb.Forge.Contracts.Entities
{

	/// <summary>
	/// This enum describes the possible transaction stated of an entity
	/// </summary>
	public enum EntityTransactionState
	{
		/// <summary>
		/// The entity is on its original state
		/// </summary>
		Untouched,
		/// <summary>
		/// The changes are saved
		/// </summary>
		Saved,
		/// <summary>
		/// Changes are committed
		/// </summary>
		Committed,
		/// <summary>
		/// Changes are rolled back
		/// </summary>
		Rollbacked,
		/// <summary>
		/// Saving or committing changes failed
		/// </summary>
		Failed
	}
}